package cn.wenjie.gd.service;


import java.util.List;

import cn.wenjie.gd.dao.CollectionDao;
import cn.wenjie.gd.dao.CollectionDaoImp;
import cn.wenjie.gd.domain.Collection;
import cn.wenjie.gd.domain.PayType;
import cn.wenjie.gd.util.CollectionPage;
import cn.wj.base.dao.BaseDao;
import cn.wj.base.service.BaseServiceImp;
import cn.wj.base.util.Page;

public class CollectionServiceImp  extends BaseServiceImp<Collection,Integer>  implements CollectionService{
	private CollectionDao collectionDao=new CollectionDaoImp();
	@Override
	public BaseDao<Collection, Integer> getBaseDao() {
		return collectionDao;
	}
	@Override
	public List<PayType> getAllPayType() {
		// TODO Auto-generated method stub
		return collectionDao.getAllPayType();
	}
	@Override
	public Page getPage(CollectionPage page) {
		// TODO Auto-generated method stub
		return collectionDao.getPage(page);
	}
	@Override
	public List<Collection> todayGrade() {
		// TODO Auto-generated method stub
		return collectionDao.todayGrade();
	}
	  
}
